<?exit?>
{template file_header}
<!-- content -->
<div class="main">
<div class="content topcontent">
	<div class="mainarea">
		<p id="nav">您的位置：<a href="{S_URL}/">$_SCONFIG[sitename]</a>
			<!--{loop $guidearr $value}-->
			&gt;&gt; <a href="$value[url]">$value[name]</a>
			<!--{/loop}-->
		</p>
		
		<div id="hotfile" class="tabblock" style="height: 323px; overflow: hidden;">
			<h3 id="hotfiletabs" class="tabs">
				<a id="weektab" href="javascript:setTab('hotfile','week')" class="tab curtab">本周热点</a>
				<a id="monthtab" href="javascript:setTab('hotfile','month')" class="tab">本月热点</a>
				<a id="alltab" href="javascript:setTab('hotfile','all')" class="tab">热点总排行</a>
			</h3>
			<!--站内热门列表(一周)-->
			<!--{block name="spacefile" parameter="dateline/604800/order/i.replynum DESC/limit/0,26/cachetime/55400/subjectlen/36/subjectdot/1/cachename/hotfileweek/tpl/data"}-->
			<div  id="week" class="tabcontent">
				<ul class="msgtitlelist list2col linelist">
					<!--{loop $_SBLOCK['hotfileweek'] $value}-->
					<li><cite><a href="#uid/$value[uid]#" target="_blank">$value[username]</a> </cite><a href="$value[url]">$value[subject]</a></li>
					<!--{/loop}-->
				</ul>
			</div>
			<!--站内热门列表(一月)-->
			<!--{block name="spacefile" parameter="dateline/2592000/order/i.replynum DESC/limit/0,26/cachetime/97200/subjectlen/36/subjectdot/1/cachename/hotfilemonth/tpl/data"}-->
			<div id="month" class="tabcontent" style="display: none;">
				<ul class="msgtitlelist list2col linelist">
					<!--{loop $_SBLOCK['hotfilemonth'] $value}-->
					<li><cite><a href="#uid/$value[uid]#" target="_blank">$value[username]</a> </cite><a href="$value[url]">$value[subject]</a></li>
					<!--{/loop}-->
				</ul>
			</div>
			<!--站内热门列表(全部)-->
			<!--{block name="spacefile" parameter="order/i.replynum DESC/limit/0,26/cachetime/97900/subjectlen/36/subjectdot/1/cachename/hotfile/tpl/data"}-->
			<div id="all" class="tabcontent" style="display: none;">
				<ul class="msgtitlelist list2col linelist">
					<!--{loop $_SBLOCK['hotfile'] $value}-->
					<li><cite><a href="#uid/$value[uid]#" target="_blank">$value[username]</a> </cite><a href="$value[url]">$value[subject]</a></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>
	</div>
	
	<div class="side">
		<!-- 用户面板 -->
		<div id="userpanel">
			<div class="paneltitle">
				<h2>用户面板</h2>
			</div>
			<script src="{S_URL}/batch.panel.php?rand={eval echo rand(1, 999999)}" type="text/javascript" language="javascript"></script>
		</div>

		<!--{block name="spacefile" parameter="order/i.dateline DESC/limit/0,7/subjectlen/30/subjectdot/1/cachetime/13400/cachename/newfile/tpl/data"}-->
		<div class="block" style="height: 200px; overflow: hidden;">
			<h3>最新文件</h3>
			<ul>
				<!--{loop $_SBLOCK['newfile'] $value}-->
				<li>
					<a href="$value[url]" target="_blank">$value[subject]</a>
					<span class="smalltxt"><a href="#uid/$value[uid]#" target="_blank">$value[username]</a></span>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
</div>

<!--{if !empty($ads['pagecenterad'])}-->
<div class="adbox">
	$ads[pagecenterad]
</div>
<!--{/if}-->

<div class="content">
	<div class="mainarea">
		<div class="blockcategorylist">
		<!--{block name="category" parameter="type/file/isroot/1/order/c.displayorder/limit/0,100/cachetime/93600/cachename/category/tpl/data"}-->
		<!--{loop $_SBLOCK['category'] $ckey $cat}-->
		<!--{eval $ctime=2800+30*$ckey;}-->
		<!--{block name="spacefile" parameter="catid/$cat[subcatid]/order/i.dateline DESC/limit/0,10/cachetime/$ctime/cachename/sublist/tpl/data"}-->
		<div class="blockcategory">
			<h3><a href="#action/category/catid/$cat[catid]#">$cat[name]</a></h3>
			<ul class="msgtitlelist">
			<!--{loop $_SBLOCK['sublist'] $value}-->		
			<li>
				<cite><a href="#uid/$value[uid]#" target="_blank">$value[username]</a></cite> <a href="$value[url]" target="_blank">$value[subject]</a>
			</li>
			<!--{/loop}-->
			<li><a href="#action/category/catid/$cat[catid]#" class="more">更多……</a></li>
			</ul>
		</div>
		<!--{/loop}-->
		</div>
	</div>
	<div class="side">
		<!--{block name="spacefile" parameter="order/i.lastpost DESC/limit/0,15/subjectlen/30/subjectdot/1/cachetime/13400/cachename/hotreplyfile/tpl/data"}-->
		<div class="block">
			<h3>最新被评文件</h3>
			<ul>
				<!--{loop $_SBLOCK['hotreplyfile'] $value}-->
				<li>
					<a href="$value[url]" target="_blank">$value[subject]</a>
					<span class="smalltxt"><a href="#uid/$value[uid]#" target="_blank">$value[username]</a></span>
				</li>
				<!--{/loop}-->
			</ul>
		</div>
	</div>
</div>
<!-- /Content -->

<!--{if !empty($ads['pagefootad'])}-->
<div class="adbox">$ads[pagefootad]</div>
<!--{/if}-->
</div>
<!--{if !empty($ads['pagemovead']) || !empty($ads['pageoutad'])}-->
<!--{if !empty($ads['pagemovead'])}-->
<div id="coupleBannerAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
	<div style="position: absolute; left: 6px; top: 6px;" class="floatAd">
		$ads[pagemovead]
		<br />
		<img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
	</div>
	<div style="position: absolute; right: 6px; top: 6px;" class="floatAd">
		$ads[pagemovead]
		<br />
		<img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
	</div>
</div>
<!--{/if}-->
<!--{if !empty($ads['pageoutad'])}-->
<div id="floatAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
	<div id="floatFloor" style="position: absolute; right: 6px; bottom:-700px" class="floatAd">
		$ads[pageoutad]
	</div>
</div>
<!--{/if}-->
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
<script type="text/javascript">
<!--{if !empty($ads['pageoutad'])}-->
var lengthobj = getWindowSize();
lsfloatdiv('floatAdv', 0, 0, 'floatFloor' , -lengthobj.winHeight).floatIt();
<!--{/if}-->
<!--{if !empty($ads['pagemovead'])}-->
lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt();
<!--{/if}-->
</script>
<!--{/if}-->

<!--{if !empty($ads['pageoutindex'])}-->
$ads[pageoutindex]
<!--{/if}-->
{template site_footer}